package com.qin.malldiscount.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 优惠券和产品的关系表
 * @TableName sms_coupon_product_relation
 */
@TableName(value ="sms_coupon_product_relation")
@Data
public class SmsCouponProductRelation implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long couponId;

    /**
     * 
     */
    private Long productId;

    /**
     * 商品名称
     */
    private String productName;

    /**
     * 商品编码
     */
    private String productSn;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}